package com.haople.sso.core.util;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

public class DateTool {

	private Calendar c = Calendar.getInstance(TimeZone.getTimeZone("GMT+08:00"));
	
	/**
	 * 添加天数
	 * @param day
	 * @return
	 */
	public  Date addDay(int day){
		c.add(Calendar.DATE, day);
		return c.getTime();
	}
	
}
